//
//  WorkOrderRequest.h
//  PropertyMananger
//
//  Created by bh on 17/1/22.
//  Copyright © 2017年 BH. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WorkOrderRequest : NSObject

typedef void(^SuccessBlock)(id data);//请求成功
typedef void(^FailBlock)(NSString * errorDes);//请求失败

#pragma mark - 工单主页显示的报修单数量
+(void)postWorkNumSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param;

#pragma mark - 公共报修与个人报修-列表
+(void)postPublicRepairSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param;

#pragma mark - 水电报修
+ (void)postEletricsRepairSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param;

#pragma mark - 投诉列表
+ (void)postComplainSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param;

#pragma mark - 各种订单列表查询
+ (void)postOrderListQuerySuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param;

#pragma mark - 统计
+ (void)postStaticsSuccess:(SuccessBlock)successBlock Fail:(FailBlock)failBlock param:(NSDictionary *)param;

@end
